package com.jingyuan.common.entity.packet;

/**
 * 服务端消息类型
 */
public class ServerMessageType {
    public static final int REGIST_SUCCESS=0;   //主机上线成功通知报文
    public static final int OTHER_HOST_REGIST_SUCCESS=1;    //主机上线成功后通知其他主机的报文
    public static final int OFFLINE_SUCCESS=2;  //主机下线成功通知报文
    public static final int OTHER_OFFLINE_SUCCESS=3;    //主机下线成功后通知其他主机的报文
    public static final int VOTING_START=4;   //开始选举通知报文
    public static final int VOTING_NOW=5;   //当前正在进行选举报文
    public static final int VOTING_END=6;   //选举结束报文
    public static final int OTHER=10;   //其他
}
